from django.http import HttpResponse
from django.urls import path
from .views import *

app_name = 'main'

urlpatterns = [
    path('', ArticleListView.as_view(), name='index'),


    path('article_detail/<int:pk>/', ArticleDetailView.as_view(), name='article_detail'),
    path('article/history/', history_view, name='history'),
    path('article/history/delete/<int:history_id>/', delete_history, name='delete_history'),

]